package com.jk.dmconsumer.service;

import com.jk.dmcommon.entity.OrderEntity;
import com.jk.dmcommon.entity.UserInfoMoEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class paymentService {
    @Autowired
    private MongoTemplate mongoTemplate;

    public void ces() {
        Query query = new Query();
        List<UserInfoMoEntity> all = mongoTemplate.findAll(UserInfoMoEntity.class);
        System.out.println("22222");
    }
}
